<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        
        <div class="layui-form-item">
            <label class="layui-form-label">团长</label>
            <div class="layui-input-block">
                <input type="text" name="master_name" class="layui-input"  placeholder="请输入团长" value="{$row.master_name|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">商品ID</label>
            <div class="layui-input-block">
                <input type="number" name="goods_id" class="layui-input"  placeholder="请输入商品ID" value="{$row.goods_id|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">拼团名称</label>
            <div class="layui-input-block">
                <input type="text" name="spell_group_name" class="layui-input"  placeholder="请输入拼团名称" value="{$row.spell_group_name|default=''}">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">拼团简介</label>
            <div class="layui-input-block">
                <textarea name="spell_group_profile" class="layui-textarea"  placeholder="请输入拼团简介">{$row.spell_group_profile|raw|default=''}</textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">单位</label>
            <div class="layui-input-block">
                <input type="text" name="unit" class="layui-input"  placeholder="请输入单位" value="{$row.unit|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">活动日期</label>
            <div class="layui-input-block">
                <input type="text" name="start_time" data-date="" data-date-type="datetime" class="layui-input"  placeholder="请输入活动日期" value="{$row.start_time|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">结束时间</label>
            <div class="layui-input-block">
                <input type="text" name="end_time" data-date="" data-date-type="datetime" class="layui-input"  placeholder="请输入结束时间" value="{$row.end_time|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">拼团实效</label>
            <div class="layui-input-block">
                <input type="text" name="spell_group_results" class="layui-input"  placeholder="请输入拼团实效" value="{$row.spell_group_results|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">拼团人数</label>
            <div class="layui-input-block">
                <input type="text" name="spell_group_number" class="layui-input"  placeholder="请输入拼团人数" value="{$row.spell_group_number|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">购买数量限制</label>
            <div class="layui-input-block">
                <input type="text" name="buy_number" class="layui-input"  placeholder="请输入购买数量限制" value="{$row.buy_number|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">排序</label>
            <div class="layui-input-block">
                <input type="text" name="sort" class="layui-input"  placeholder="请输入排序" value="{$row.sort|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">运费模板</label>
            <div class="layui-input-block">
                <select name="template_of_freight" >
                    <option value=''></option>
                    {foreach $getTemplateOfFreightList as $k=>$v}
                    <option value='{$k}' {in name="k" value="$row.template_of_freight"}selected=""{/in}>{$v}</option>
                    {/foreach}
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">活动状态</label>
            <div class="layui-input-block">
                {foreach $getActiveStateList as $k=>$v}
                <input type="radio" name="active_state" value="{$k}" title="{$v}" {in name="k" value="$row.active_state"}checked=""{/in}>
                {/foreach}
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">拼团状态</label>
            <div class="layui-input-block">
                {foreach $getStatusList as $k=>$v}
                <input type="radio" name="status" value="{$k}" title="{$v}" {in name="k" value="$row.status"}checked=""{/in}>
                {/foreach}
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">商品属性</label>
            <div class="layui-input-block">
                <input type="text" name="goods_property" class="layui-input"  placeholder="请输入商品属性" value="{$row.goods_property|default=''}">
            </div>
        </div>
        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>